pp108 : Examples of WS-Security UsernameToken

Examples of WS-Security UsernameToken

This topic describes some example headers of the WS-Security UsernameToken.

The layout of these examples is conforming to the Web Services Security UsernameToken Profile 1.0.

The following is an example of WS-Security UsernameToken using PlainText password.

<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
        <wsse:Username>jopl</wsse:Username>
        <wsse:Password>jopl</wsse:Password>
    </wsse:UsernameToken>
</wsse:Security>